how to convert array to object in javascript es8

welcome to shbcf.ru